package product.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import product.mapper.ProductMapper;
import product.model.ProductInfo;

@Service
public class ProductService {


    @Autowired
    private ProductMapper productMapper;

    public ProductInfo getProductInfo(Integer id) {
        return productMapper.selectByProductId(id);
    }
}
